projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a1d8be
)
(selection_data_to_lisp_data): Use make_string_from_bytes.
author
Richard M. Stallman
<rms@gnu.org>
Sat, 21 Mar 1998 17:49:39 +0000
(17:49 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 21 Mar 1998 17:49:39 +0000
(17:49 +0000)
src/xselect.c
patch
|
blob
|
history
diff --git
a/src/xselect.c
b/src/xselect.c
index 475a2fdd1d7c158b8b9b6e2771d4762b3801daf3..5eb7d432158f0e8eb45ad6c95ca62e603ae7d16c 100644
(file)
--- a/
src/xselect.c
+++ b/
src/xselect.c
@@
-1506,8
+1506,8
@@
selection_data_to_lisp_data (display, data, size, type, format)
bufsize = decoding_buffer_size (&coding, size);
buf = (unsigned char *) xmalloc (bufsize);
decode_coding (&coding, data, buf, size, bufsize);
- str = make_
multibyte_string
((char *) buf,
- coding.produced_char, coding.produced);
+ str = make_
string_from_bytes
((char *) buf,
+
coding.produced_char, coding.produced);
xfree (buf);
}
return str;